package com.macro.mall.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.macro.mall.query.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 观光车图片参数
 * Created by macro on 2018/4/26.
 */
@Data
@Getter
@Setter
@EqualsAndHashCode
public class BmsRecruitmentInformation implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("人数")
    private Integer peopleNumber;
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openingTime;
    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("删除状态")
    private Boolean isDelete;

    private Long userId;

    @ApiModelProperty("已报名人数")
    private Integer individualsPeopleNumber;
    @ApiModelProperty("活动地址")
    private String address;
    @ApiModelProperty("图片")
    private List<String> picList;
    @ApiModelProperty("封面图")
    private String coverPic;
    @Override
    public String toString() {
        return "BmsRecruitmentInformation{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", peopleNumber=" + peopleNumber +
                ", openingTime=" + openingTime +
                ", status=" + status +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", updateUser=" + updateUser +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                ", isDelete=" + isDelete +
                ", userId=" + userId +
                ", individualsPeopleNumber=" + individualsPeopleNumber +
                ", address='" + address + '\'' +
                '}';
    }
}
